home *** CD-ROM | disk | FTP | other *** search
-
-
- Test Drive From
- CD-ROM
-
- Some of the features of SNAP-P will not work when running on a
- read-only device, but you will be able to use most of the program to
- see what it does and how it works. For a full evaluation you will
- need to copy SNAP_P.* to the same directory on either a hard or floppy
- drive. After you have done the copy, change to the directory where
- the files were copied, then at the DOS prompt enter:
-
- rename snap_p.* snap-p.*
-
- You will then be able to use all of SNAP-P.
-
- If you want a test drive from the CD-ROM just execute SNAP_P. If you
- do so, the following will not work correctly:
-
- The document viewer will not be able to find the correct file.
- this is because it is looking for "SNAP-P.DOC" with a dash, not
- an underscore. You can open SNAP_P.DOC from the file menu.
-
- SNAP-P writes the dictionary, parameter settings, the printable
- manual and so on in the directory where the executable is stored.
- These will not work on a read-only device. You can change
- parameter settings, but they will not be kept for the next
- session. The dictionary driven capitalization will not work
- correctly.
-
- About SNAP-P
-
- For safety, SNAP-P will not change the original source file unless
- told to. Even then, a backup copy will be made first. The newly
- structured source text will be placed in a file with the same name as
- the original and the default extension '.SNP'. The Resulting
- formatted code is shown beside the original on your screen for easy
- comparison. If you like the results and you have not told SNAP-P to
- change the source, you can replace the original '.PAS' file with the
- new file yourself.
-
- SNAP-P reformats a Pascal program by adjusting margins and internal
- spacing, and using standard capitalization for all keywords and
- identifiers. You may specify capitalization by either rules or by
- table lookup. If you choose "rules" (rather than "table") the
- standard capitalization is used. You can specify which standards and
- use different rules for keywords and identifiers. If you choose table
- lookup an optional dictionary of standard capitalization is maintained
- by SNAP-P. String literals and comments are never changed.
-
-
- Installation
-
- Copy the SNAP-P.EXE and SNAP-P.DOC files to the same directory on
- your hard disk. If you want to execute from anywhere in the
- system you need to make sure it is in the PATH.
-
- If you want to use SNAP-P as a tool in a Borland(R) product, do
- the following:
-
- 1 Start the Borland product
-
- 2 Under the Options|Tools menu select New
-
- 3 On the resulting form enter:
-
- Title : ~S~NAP-P
- Program Path : Enter the full path name of SNAP-P.EXE
- Command Line : $EDNAME $SAVE ALL
- Hot Keys : Pick an available Hot Key (optional).
-
- 4 Click OK
-
- Removal
-
- If you decide that you don't want to keep SNAP-P on your system,
- delete SNAP-P.* from the directory where you placed SNAP-P.EXE.
- If you have changed your PATH or modified any tools menus these
- will also need to be returned to their original state.
-
-